import React from 'react'
import Footer from './components/Footer'
import AddTodo from './containers/AddTodo'
import VisibleTodoList from './containers/VisibleTodoList'
import { connect } from 'react-redux'

let Test = ({dispatch}) => {
  console.log(dispatch)
  console.log(arguments)
  return (
    <div>author by zhx@add.com</div>
  )
}

Test = connect()(Test)

const App = () => (
  <div>
    <AddTodo />
    <VisibleTodoList />
    <Footer />
    <Test></Test>
  </div>
)

export default App
